﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Zhao.Models.Entity
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("Area")]
    public class Area
    {


        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
        public int Id { get; set; }

        /// <summary>
        /// 备  注:父类id
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "parentId")]
        public int ParentId { get; set; }

        /// <summary>
        /// 备  注:名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Name")]
        public string Name { get; set; }
        /// <summary>
        /// 备  区域等级  1省 2市  3区域
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Level")]
        public int Level { get; set; }
    }

}